package com.dubbo.provider.conter;

import com.dubbo.entity.SysUser;
import com.dubbo.provider.dao.SysUserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author chenguosong
 * @Date 2021/1/22 1:37
 * @Mail 2581592671@qq.com
 */
@RestController
public class test {
    @Autowired
    SysUserDao sysUserDao;
    @RequestMapping(value = "/test")
    public List<SysUser> test(){
       return sysUserDao.queryById();
    }
}
